/*
 * @Description: 新闻模型
 */

const ProductModel = require("../../models/ProductModel")

const ProductService = {
  getList: async (id) => {
    return id ? ProductModel.find({ _id: id, },) : ProductModel.find()
  },
}
module.exports = ProductService
